package com.fansl.allround.message.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;

/**
 * @author fansl
 * @Description: TODO
 * @date 2019/9/5 14:05
 */
@Data
@ConfigurationProperties(prefix = "spring.thymeleaf")
public class ThymeleafProperties {
    private Charset DEFAULT_ENCODING = StandardCharsets.UTF_8;

    private String DEFAULT_PREFIX = "classpath:/templates/";

    private String DEFAULT_SUFFIX = ".html";

    /**
     * Whether to check that the template exists before rendering it.
     */
    private boolean checkTemplate = true;
}
